package com.example.orderingfood.entity;

import java.io.Serializable;

/**
 * (OrderDetails)实体类
 *
 * @author makejava
 * @since 2021-03-24 16:11:06
 */
public class OrderDetails implements Serializable {
    private static final long serialVersionUID = -52767415722643012L;

    private String id;

    private String orderId;

    private String goodsId;

    private Integer number;

    private Double price;


    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getOrderId() {
        return orderId;
    }

    public void setOrderId(String orderId) {
        this.orderId = orderId;
    }

    public String getGoodsId() {
        return goodsId;
    }

    public void setGoodsId(String goodsId) {
        this.goodsId = goodsId;
    }

    public Integer getNumber() {
        return number;
    }

    public void setNumber(Integer number) {
        this.number = number;
    }

    public Double getPrice() {
        return price;
    }

    public void setPrice(Double price) {
        this.price = price;
    }

    @Override
    public String toString() {
        return "OrderDetails {" +
                "id : " + id + ", " +
                "orderId : " + orderId + ", " +
                "goodsId : " + goodsId + ", " +
                "number : " + number + ", " +
                "price : " + price + ", " +
                '}';
    }
}
